﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KPWeb.Class;

namespace KPWeb.Linki
{
    public partial class LinkiStrona :  KPPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
            int linkNr = int.Parse(Request["value"]);
            switch (linkNr)
            {
                case 1:
                    System.Diagnostics.Process.Start("http://wum.edu.pl");
                    break;
                case 2:
                    System.Diagnostics.Process.Start("http://ssl.wum.edu.pl");
                    break;

                case 101:
                    System.Diagnostics.Process.Start("http://www.wum.edu.pl/files/dokumenty/druki/kadry/2009.05.12_wniosek_dla_pracownika.pdf");
                    break;
                case 102:
                    System.Diagnostics.Process.Start("http://www.wum.edu.pl/files/uczelnia/arkusz_oceny_nauczyciela_akademickiego_2012_r.pdf");
                    break;
                case 103:
                    System.Diagnostics.Process.Start("http://www.wum.edu.pl/files/dokumenty/druki/kadry/2009.08.09_wniosek_o_przyznanie_pozyczki.pdf");
                    break;
                case 104:
                    System.Diagnostics.Process.Start("http://www.wum.edu.pl/dokumenty/formularze-i-druki/formularze-i-druki-dzialu-personalnego");
                    break;
                case 105:
                    System.Diagnostics.Process.Start("http://www.wum.edu.pl/files/dokumenty/druki/kadry/2009.05.12_wniosek_dla_pracownika.pdf");
                    break;

                default: break;

            }
            }
        }
    }
}